import React from 'react';

import Constants from '../../common/Constants';
import BaseAction from '../common/BaseAction';

//读取本地步数
export default class SportReadLocalDataAction extends BaseAction {
  constructor(props) {
    super(props);
    this.moduleType = Constants.MODULE_TYPE.SPORT;
    this.name = "SportReadLocalDataAction";
  }

  finish(healthyData) {
    this.caller.setState({
      healthyData:healthyData,
      updateDataMark:true,
    })
  }
}
